Delete App Environment
Delete an existing App Environment in the specified Project.
Headers
| Header | Value |
|---|---|
user_id | Login username (email) |
api_key | API key of the user for authentication |
Content-Type | application/json |
Accept | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
accelqLoginUrl | string | Yes | The AccelQ login URL for API access. |
tenantCode | string | Yes | Tenant code for identifying the organization. |
projectCode | string | Yes | Project Code found under Auth properties of ACCELQ User Profile |
appEnvironmentId | integer | Yes | The ID of the App Environment to delete. |
user_id | string | Yes | Login username (email) |
api_key | string | Yes | API key of the user for authentication |
Responses
204 - App Environment successfully deleted.
No response sample available
400 - Bad Request. Validation errors occurred.
json
{
"error": "Invalid dataset ID provided."
}
422 - App Environment or Project not found.
json
{
"error": "App environment with ID '15754' not found."
}
cURL Command Builder
URL Parameters
Headers
Request Sample (cURL)
curl -X DELETE "${{accelqLoginUrl}}/awb/api/2.0/${{tenantCode}}/${{projectCode}}/conf/app-environments/${{appEnvironmentId}}" \
-H "user_id: ${{user_id}}" \
-H "api_key: ${{api_key}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"